package com.zzedu.result;

/**
 * 统一返回实体
 */
public class Result<T> {

    /**
     * 返回编码
     * <p>
     * resultCode=SUCCESS #请求成功
     * resultCode=FAIL #请求失败
     * resultCode=LOGIN #请登录
     */
    private String resultCode;

    /**
     * 返回说明
     */
    private String resultMessage;
    /**
     * 返回数据
     */
    private T data;



    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

}
